﻿using System;
using System.ServiceModel;

namespace BizElements.BusinessLayer
{
    /// <summary>Writes to log via remoting service.</summary>
    [ServiceContract(ConfigurationName = "BizElements.BusinessLayer.ILogReceiverService")]
    public interface ILogReceiverService
    {
        /// <summary>Writes <b>LogEntry</b>.</summary>
        /// <param name="serializedLogEntry">Binary serialized <b>LogEntry</b> object.</param>
        [OperationContract]
        void WriteLogEntry(byte[] serializedLogEntry);
    }
}
